<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Contact</title>
<script type="text/javascript">
	function verify() 
	{
		var locate = document.getElementById("email");
		if (locate.value.indexOf("@")==-1)
				{	}
			if (locate.value.indexOf(".")==-1)	
				{						 			 
				alert("Values are not correct!");
				return false;
				
				}
			
		return true;
	}
</script>
</head>
<body>
<form action="" onsubmit=" return verify()">
<table>
	<tr>
		<td>Nume <input type="text" /></td>
	</tr>
	<tr>
		<td>E-mail <input type="text" id="email" /></td>
	</tr>
	<tr>
		<td>Telefon<input type="text" /></td>
	</tr>
	<tr valign="top">
		<td>Observatii:</td>
	</tr>
	<tr>
		<td><textarea rows="10" cols="30"></textarea></td>
	</tr>
	<tr>
		<td><input type="submit" value="Submit"/></td>
	</tr>
</table>
</form>
</body>
</html>